import 'package:flutter/material.dart';
import 'conContainer.dart';
main()=>runApp(MyApp());

class MyApp extends StatelessWidget{
  Widget build(BuildContext context){
    return MaterialApp(
      home: Scaffold(
        appBar: AppBar(
          title: Text("Row组件练习"),
        ),
        body: Row(
          //相对于父容器定位
          mainAxisAlignment: MainAxisAlignment.spaceEvenly,
          crossAxisAlignment: CrossAxisAlignment.start,
          children: <Widget>[
            IconContainer(Icons.access_time,color: Colors.blue,),
            IconContainer(Icons.access_time,color: Colors.green,),
            IconContainer(Icons.access_time,),
          ],
        ),
      ),
    );
  }
}